projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85506df
)
Minor tidy.
author
emellor@ewan
<emellor@ewan>
Wed, 28 Sep 2005 13:02:38 +0000
(14:02 +0100)
committer
emellor@ewan
<emellor@ewan>
Wed, 28 Sep 2005 13:02:38 +0000
(14:02 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 21d365591c258b5369efb12133f9709658052b6c..45c0b2be44241a27daf7cd4d212f47d3a7f2f8c0 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-615,7
+615,7
@@
class XendDomainInfo:
if not reason in shutdown_reasons.values():
raise XendError('invalid reason:' + reason)
self.storeVm("control/shutdown", reason)
- if not reason
in ['suspend']
:
+ if not reason
== 'suspend'
:
self.storeVm('xend/shutdown_start_time', time.time())